.ys-slide{
    display: none;
    position: relative;
    height: 4px;
    border-radius: 4px;
    margin: 45px 0;
    background-color: #efefef;
    box-sizing: border-box;
}

.ys-slide-bar{
    position: absolute;
    background-color: #14AE68;
    top:0;
    bottom: 0;
    left:0;
    border-radius: 4px;
}
.ys-slide-control{
    position: absolute;
    background-color: #fff;
    border:1.5px solid #14AE68;
    width: 16px;
    height:16px;
    border-radius: 16px;
    top:50%;
    margin-top: -8px;
    cursor: grab;
    box-sizing: border-box;
    transition: transform 0.35s;
    z-index: 33;
    transform: translateX(-50%);
}
.ys-slide-control:hover{
    transform: scale(1.2) translateX(-40%);
}
.ys-slide-tips{
    display:none;
    position: absolute;
    top:-48px;
    background-color: #000;
    color:#fff;
    padding: 4px 10px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 4px;
    user-select: none;
    pointer-events: none;
    z-index: 444;
    white-space: nowrap
}
.ys-slide-tips:after{
    position: absolute;
    content: '';
    border-left:6px solid transparent;
    border-right:6px solid transparent;
    border-top:6px solid #000;
    width: 0;
    height: 0;
    bottom: -6px;
    left:50%;
    margin-left: -6px;
}
.ys-slide-input-box{
    position: absolute;
    right:-100px;
    width: 70px;
    height:32px;
    top:-16px;

}
.ys-slide-input.ys-input{
    height: 32px;
    line-height: 32px;
    border-radius: 3px;
}
.ys-slide-input-btns{
    position: absolute;
    width: 20px;
    right:0;
    top:0;
    border-left: 1px solid #ddd;
    text-align: center;
}
.ys-slide-input-btns span{
    display: block;
    height: 16px;
    line-height: 16px;
    overflow:hidden;
    box-sizing: border-box;
    padding-right: 4px;
    cursor: pointer;
    transition: all 0.35s;
    opacity: 0.7;
}
.ys-slide-input-btns span:first-child{
    border-bottom: 1px solid #ddd;
}
.ys-slide-input-btns .ys-icon:before{
    right:-2px;
    position: absolute;
}
.ys-slide-input-btns span:hover{
    opacity: 1;
    color:#14AE68;
}
.ys-slide-vertical{
    margin: 60px 0;
    width: 4px;
}
.ys-slide-vertical .ys-slide-bar{
    top:auto;
    bottom: 0;
    left: 0;
    right:0;
    border-radius: 4px;
}
.ys-slide-vertical .ys-slide-control{
    top:auto;
    bottom:0;
    left:50%;
    margin-left: -8px;
    transform: translateX(0) translateY(50%);
}
.ys-slide-vertical .ys-slide-control:hover{
    transform: translateX(0) scale(1.2) translateY(40%);
}
.ys-slide-vertical .ys-slide-input-box{
    top:-60px;
    width: 70px;
    height:32px;
    left:-32px;
}
input.ys-slide-input[type=number] {
    -moz-appearance: textfield;
}
input.ys-slide-input[type=number]::-webkit-inner-spin-button, input.ys-slide-input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ys-slide-steps,.ys-slide-wrap,.ys-slide-bar-box,.ys-slide-marks,.ys-slide-markLabel{
    position: absolute;
    top:0;
    left:0;
    bottom: 0;
    right:0;
    cursor: pointer;
}
.ys-slide-marks{
    pointer-events: none;
}
.ys-slide-steps>span,.ys-slide-marks>span{
    position: absolute;
    width:4px;
    height:4px;
    border-radius: 4px;
    background-color: #fff;
    z-index: 22;
    top:50%;
    margin-top: -2px;
    pointer-events: none;
}
.ys-slide-marks>span{
    width:3px;
    height:6px;
    background-color: #efefef;
    border-radius:0;
    margin-top: -8px;
}
.ys-slide-vertical .ys-slide-steps>span,.ys-slide-vertical .ys-slide-marks>span{
    left:50%;
    top:auto;
    margin-top:0;
    margin-left: -2px;
}
.ys-slide-vertical .ys-slide-marks>span{
    width:6px;
    height:3px;
    margin-top: 0;
    margin-left: 2px;
}
.ys-slide-markLabel{
    top:12px;
    bottom: auto;
    min-height: 25px;
    line-height: 25px;
    font-size: 12px;
}
.ys-slide-markLabel>span{
    position: absolute;
    top:0;
    transform: translateX(-10px);
}
.ys-slide-vertical .ys-slide-markLabel>span{
    left:0;
    transform: translateY(10px);
    top:auto;
}
.ys-slide-vertical .ys-slide-markLabel{
    top:0;
    bottom:0;
    left:15px;
    right:auto;
    min-width: 100px;
}
.ys-slide-vertical .ys-slide-bar-box{
    top:0;
    bottom: 0;
    right:0;
}
.ys-slide-vertical .ys-slide-tips{
    top: auto;
    margin-bottom: 30px;
}